[Unit]
Description=DMX telegram
After=syslog.target network.target

[Service]
User=root
Group=root
Type=simple
WorkingDirectory=/opt/dmx
ExecStart=/opt/dmx/dmx-telegram.py
ExecStop=/bin/kill -15 $MAINPID
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=multi-user.target

